<?xml version='1.0' encoding='UTF-8' ?>
<!--
    Document   : baseProperty
    Created on : Jan 28, 2012, 12:14:06 PM
    Author     : Oscar Ivan Prado
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:icecore="http://www.icefaces.org/icefaces/core"
                xmlns:ace="http://www.icefaces.org/icefaces/components"
                xmlns:ice="http://www.icesoft.com/icefaces/component"
                template="/WEB-INF/facelets/base/controls/PanelPopup.xhtml"
                xmlns:c="http://java.sun.com/jsp/jstl/core">
    <ui:define name="closePopup">
        <ice:commandButton image="#{request.contextPath}/resources/images/popup/close.gif" actionListener="#{matchContextPopup.close()}"/>
    </ui:define>
    <ui:define name="bodyPopup">
        <ice:panelGroup style="width: 600px">
            <ui:include src="/WEB-INF/facelets/base/match/MatchCollapsableDataTable.xhtml">
                <ui:param name="values" value="#{matchBackingBean.matchs}"/>
                <ui:param name="tableName" value="tbMatchsByTemplate"/>
                <ui:param name="cpTitle" value="#{i18n['generator.matchContext.match.title']}"/>
            </ui:include>
            <ui:include src="/WEB-INF/facelets/base/template/TemplateDetailPanelCollapsableDataTable.xhtml">
                <ui:param name="cpTitle" value="#{i18n['generator.matchContext.matchDetail.title']}"/>
            </ui:include>
            <ui:include src="/WEB-INF/facelets/base/match/MatchContextCollapsableDataTable.xhtml">
                <ui:param name="tableName" value="tbMatchContext"/>
                <ui:param name="values" value="#{matchContextBackingBean.matchContexts}"/>
                <ui:param name="rows" value="10"/>
                <ui:param name="cpTitle" value="#{i18n['generator.matchContext.context.title']}"/>
            </ui:include>
        </ice:panelGroup>
    </ui:define>
</ui:composition>